﻿using JMS;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Way.EntityDB;

namespace CheckIn.PlanHost
{
    public class PlanDBContext : DBModels.DB.CheckInPlan, JMS.IStorageEngine
    {
        public PlanDBContext() : base(Global.Configuration["Database:ConnectionString"], Global.Configuration.GetSection("Database:Type").Get<Way.EntityDB.DatabaseType>())
        {
           
        }


        object IStorageEngine.CurrentTransaction => base.CurrentTransaction;

        public void BeginTransaction()
        {
            base.BeginTransaction();
        }
    }
}
